Skip to content

Conversation

@jmschonfeld
Copy link
Contributor

With swiftlang/swift-corelibs-foundation#5045, Foundation now dynamically replaces the implementation of this function when it is present so there is no need to perform a _typeByName lookup. We can safely remove this now and just return nil because we know that if this implementation is used, (the correct) Foundation is not loaded.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit a57b06e into swiftlang:main Aug 2, 2024
@jmschonfeld jmschonfeld deleted the remove-type-by-name-nsnumber branch August 2, 2024 20:56
jmschonfeld added a commit to jmschonfeld/swift-foundation that referenced this pull request Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants